{# 继承 layout 模板 #}
{% extends '../layout.njk' %}

{# 标题 #}
{% block title %}
添加部门
{% endblock%}

{# CSS #}
{% block cssLinks %}
{{ super() }}
{% endblock %}

{# 页面内容 #}
{% block content %}
<h3 class="title">添加部门</h3>
<div class="container">
    <form action="/dept/add" method="post">
        部门名称:
        <input type="text" name="deptName" >
        <button>添加</button>
    </form>
</div>
{% endblock %}